<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<div class="modal-dialog x-modal-dialog" style="width:600px; margin-top: 150px;">

  <div class="modal-content">

    <div class="modal-header x-breadcrumb no-bottom-border clearfix">

      <h2><i class="glyphicon glyphicon-fire" title="上传二维码"></i>&nbsp;&nbsp;上传二维码</h2>

      <button type="button" class="close" data-dismiss="modal">&times;</button>

    </div>

    <form class="form-horizontal" method="POST" action="${ctx.host}/online-rounds/${courseRound.code}/rounds/${courseRound.id}/qrcode-upload" enctype="multipart/form-data" data-validate="true">
      
      <input type="hidden" name="grouped" value="${grouped}">
      
      <div class="modal-body">
        <div class="form-group x-form-group">
          <label class="control-label col-xs-3">上传二维码</label>
          <div class="col-xs-7">
            <input type="file" name="qrcode" accept="image/jpeg" class="form-control" data-validate="required">
          </div>
        </div>
      </div>
      
      <div class="modal-footer clearfix">
        <button type="submit" class="btn btn-success btn-shadow btn-shadow-success x-btn">确定</button>&nbsp;&nbsp;&nbsp;&nbsp;
        <button type="button" class="btn btn-default btn-shadow btn-shadow-default x-btn" data-dismiss="modal">取消</button>
      </div>
    </form>

  </div>

</div>
